1bashThis demonstrates using sed for case-insensitive text replacement in a file.sed 's/fox/bear/gi' foo.txtexternal toolssedin-file text replacement